package com.yikes.srb.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yikes.srb.leadingModle.vo.BorrowInfoVO;
import com.yikes.srb.mybatis.base.PageForm;
import com.yikes.srb.pojo.entity.Borrower;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 借款人 Mapper 接口
 * </p>
 *
 * @author guanrong.yin
 * @since 2024-12-03
 */
@Mapper
public interface BorrowerMapper extends BaseMapper<Borrower> {

    /**
     * 查询借款信息列表
     * @return
     */
//    List<BorrowInfoVO> selectBorrowInfoList();

     IPage<BorrowInfoVO> selectBorrowInfoList(@Param("page") Page<PageForm> page, @Param("keyword") String keyword);
}
